package com.example.xm.mapper;

import com.example.xm.entity.Userentity;
import com.example.xm.entity.dto.UserDto;

import java.math.BigDecimal;
import java.util.List;

/**
* @author tong
* @description 针对表【user】的数据库操作Mapper
* @createDate 2024-04-13 12:37:40
* @Entity com/example/xm.domain.Userentity
*/
public interface UserMapper  {
    Userentity selectById(Integer id);

    Userentity selectByName(String name);
    void insert(Userentity userentity);

    List<Userentity> selectList(UserDto dto);
    void updateByPrimaryKeySelective(Userentity dto);

    void delete(int[] intArray);

    void addTotall(Integer userId, BigDecimal multiply);
}




